package com.gljx.web.service;

import java.util.List;
import java.util.Map;

import com.gljx.web.Entity.OwnCarTrain;
import com.gljx.web.Entity.OwnCarTrainEntry;
import com.gljx.web.Entity.User;
import com.gljx.web.Entity.JournalEntry.ExaminationRoomIncome;

public interface OwnCarTrainService {

	Map<String, Object> selectPage(int pindex, String psql, int psize);

	Map<String, Object> selectPageCount(String psql);
	
	List<OwnCarTrainEntry> selectOwnCarTrainEntry(String fparentId,String cfchepai,String divingName);
    //rhc 8/30 g
	void editOwnCarTrain(OwnCarTrain ownCarTrain, String[] fseq, String[] cfchepai, String[] cfchexing,String[] cfkemu,String[] cfcartype,
			String[] cfxyjsid, String[] cfprice, String[] cfamount, String[] cfqty, String[] cfdesc,String []cfcarnumber, User user,
			String time);
	
	OwnCarTrain queryOwnCarTrainByFid(String fid);

    void deleteOwnCarTrainByFid(String[] deleteId, String fid, String[] fnumber, String fnumber2);

    int auditOwnCarTrain(String fid, String type, String fhandlerId, String message, String state, String fnumber);

    List<ExaminationRoomIncome> queryExaminationRoomIncome(String startTime,String endTime,String companyId,String type,String drivingName);

    int modifyOwnCarTrain(OwnCarTrain ownCarTrain);

    List<OwnCarTrainEntry> selectOwnCarTrainByInfo(String fcompanyid, String cfchepai, String drivingName, String chergetype, String beginTime, String endTime);
}
